package com.love.netty.core.packet.response;

import com.love.netty.core.packet.Packet;
import lombok.Data;

import static com.love.netty.core.interfaces.Command.JOIN_GROUP_RESPONSE;

/**
 * @ClassName: JoinGroupResponsePacket
 * @Description:
 * @Author: wuj
 * @Date: 2021-06-25 15:02
 **/
@Data
public class JoinGroupResponsePacket extends Packet {

    private boolean success;

    private String groupId;

    private String reason;

    @Override
    public Byte getCommand() {
        return JOIN_GROUP_RESPONSE;
    }
}
